<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>{$type.typename}-{$config.sitetitle}</title>
<meta name="Keywords" content="{$type.keywords}" />
<meta name="Description" content="{$type.description}"/>
<link rel="shortcut icon" href="__TMPL__/images/favicon.ico" type="image/x-icon" />
<link href="__TMPL__/images/default.css" rel="stylesheet" type="text/css"/>
<script src="__TMPL__/js/common.js" type="text/javascript"></script>
<neq name="config.rollnum" value="0"><script src="__TMPL__/js/marquee.js" type="text/javascript"></script></neq>
<script src="__TMPL__/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="__PUBLIC__/js/bootstrap.min.js" type=text/css rel=stylesheet>
</head>
<body>
<include file="$head"/>
<div id="positionbg">
    <div id="position"><a href="/">首页</a>&nbsp;&gt;&nbsp;<a href="#">订单列表</a></div>
</div>
<div id="wrapper" style="clear:both;">
<div id="content" style="padding:10px; text-align:left">
<div class="panel panel-default">
  <div class="panel-heading">会员订单列表</div>
  <div class="panel-body">
    <table class="table table-bordered">
<tr><th width="80" align="center">订单号</th><th>产品名称/型号</th>
  <th width="100" align="center">价格</th>
  <th width="100" align="center">数量</th><th width="150" align="center">状态</th></tr>
<volist name="list" id="vo">
<tr><td align="center">{$vo.group_trade_no}</td><td>{$vo.title}/{$vo.servial}</td>
  <td>{$vo.price}</td>
  <td>{$vo.num}</td><td align="center">
{:C('TRADE_STATUS.'.$vo[status])}<br>
<php>if(in_array($vo[status],array(0,3,6,9,10,11))){</php>
<a class="btn btn-danger btn-sm active" href="javascript:if(confirm('您确定删除吗?')){
location.href='{:U('Member/deltrade',array('buyid'=>$vo[buy_id]))}';}">删除</a>
<php>}</php>&nbsp;<a href="{$vo.gid|url=articles,###}" class="btn btn-success btn-sm active">评价</a>
</td></tr>
</volist>
</table>
  </div>    
</div>
</div>
<div id="side">
 <!--会员菜单-->
 	<div class="ClassNav">
		      <div class="ClassTitle">会员中心</div>
		      <div class="ClassList">
			  <ul>
              <volist name='member_menu' id='vo'>
			  <li style="width:250px;"><a href="__ROOT__{$vo.url}">{$vo.name}</a></li>
              </volist>
              </ul></div>
		 </div>
</div>
</div><!-- end page -->
<include file="$footer" />
</body>
</html>